package com.th.supcom.pds.impl.common.enums;

/**
 * 频次单位
 * 
 * @author Zli
 */
public enum FreqIntervalUnitsEnum
{
    /**
     * 小时(value=24)
     */
    Hour (24, "H"),
    /**
     * 天(value=0)
     */
    Day(1, "D"),
    /**
     * 周(value=0)
     */
    Week(1/7, "W");
    
    private Integer m_code;
    private String m_name;

    private FreqIntervalUnitsEnum (Integer code, String name)
    {
        this.m_code = code;
        this.m_name = name;
    }

    public Integer getEnumCode ()
    {
        return this.m_code;
    }

    public String getEnumName ()
    {
        return this.m_name;
    }

}
